/*
 * ContentsOpenResource.h
 *
 *  Created on: 2014. 3. 12.
 *      Author: zenoniaonline
 */

#ifndef PROJECTZ_NRESOURCE_CONTENTSOPENRESOURCE_H_
#define PROJECTZ_NRESOURCE_CONTENTSOPENRESOURCE_H_

#include <map>

namespace ProjectZ { namespace NResource {

class ContentsOpenResource
{
public:
	struct Flyweight {
		int _contents;
		int _isOpen;
	};
public:
	ContentsOpenResource();
	virtual ~ContentsOpenResource();

	bool 	LoadResource();
	bool	IsOpen(int contents);

private:
	std::map<int, Flyweight *> _clsMap;
};

} /* NResource */ } /* ProjectZ */

#endif /* PROJECTZ_NRESOURCE_CONTENTSOPENRESOURCE_H_ */
